home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
3006
/
3006.xpi
/
chrome
/
dwhelper.jar
/
content
/
smart-name-define.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-15
|
1KB
|
47 lines
<?xml version="1.0"?>
<!-- *****************************************************************************
* Copyright (c) 2006-2009 Michel Gutierrez. All Rights Reserved.
****************************************************************************** -->
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://dwhelper/content/bindings.css" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://dwhelper/locale/dwhelper.dtd" >
<dialog id="dwhelper-smart-name-define"
flex="1"
onload="onLoad()"
ondialogaccept="onOk()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
buttons="cancel,accept">
<html:style>
</html:style>
<script><![CDATA[
var Util=Components.classes["@downloadhelper.net/util-service;1"]
.getService(Components.interfaces.dhIUtilService);
function onLoad() {
var dialog=document.getElementById("dwhelper-smart-name-define");
var data=window.arguments[0];
var title=Util.getText("smartname.define.title."+data.mode);
document.title=title;
var snl=document.getElementById("location");
snl.setMode(data.mode);
snl.setNode(data.node);
}
function onOk() {
var data=window.arguments[0];
data.ok=true;
data.value=document.getElementById("location").value;
}
]]>
</script>
<SmartNameLocation id="location" flex="1"/>
</dialog>